// 使用cookie存储token
const geek_token = 'vue3-ts-geek-token'

import Cookies from 'js-cookie'

export const getLocalToken = () => {
  return Cookies.get(geek_token)
}
export const setLocalToken = (token: string) => {
  Cookies.set(geek_token, token)
}
export const removeLocalToken = () => {
  Cookies.remove(geek_token)
}